import Vue from 'vue'
import Router from 'vue-router'
import Hello from 'components/Hello'
import Home from 'components/Home'
import Demo from 'components/Demo'

Vue.use(Router)

export default new Router({
    routes: [{
        path: '/hello',
        name: 'Hello',
        component: Hello
    }, {
        path: '/home',
        component: Home
    }, {
        path: '/',
        component: Demo
    }]
})